package com.boxin.ims.modules.sys.scheduler;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.boxin.ims.modules.wechat.service.WeChatService;
import com.boxin.ims.modules.wechat.service.tmessage.UserMessageTemplateService;


/** 下单成功   5点之后没完成提示
 * 
 * @author hjt
 *
 */
@Service
public class JiuOrderScheduler extends AbstractScheduler{
	
	
	@Autowired
	private UserMessageTemplateService userMessageTemplateService;
	
	@Autowired
	private WeChatService weChatService;

	@Override
	public String frequency() {
		return  this.getSchedulerInfo().getFrequence();
	}

	@Override
	public void process() {
		try {
			wanchenOrder(); //超过5天提醒
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
	
	private void wanchenOrder(){
		System.out.print("超过5天发送模板");
		//查询所有 完成24小时以上  并且已完成的订单
		
	}
	
}
